<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="header">
	<ul class="header-title">
		<li><div>
				<img src="${pageContext.request.contextPath }/images/logo.png"
					class="logo"><a
					href="${pageContext.request.contextPath }/index">Just Eat</a>
			</div></li>

	</ul>
	<c:if test="${client !=null }">
		<ul class="after-login">
			<li><a style="font-size: 12px;"
				href="${pageContext.request.contextPath }/client/logout?register=1">Logout</a></li>
			<li style="margin-top: 0px;"><span>Welcome!</span><a style="font-size: 25px;" href="personInfo.jsp">${client.cname }</a></li>
		</ul>
	</c:if>
	<c:if test="${client ==null}">
		<ul class="header-sidebar">
			<li style="margin-top: 0px;"><div>
					<a href="${pageContext.request.contextPath }/login.jsp?register=1">Register</a>
				</div></li>
			<li style="margin-top: 0px;"><div>
					<a href="${pageContext.request.contextPath }/login.jsp">Login</a>
				</div></li>
		</ul>
	</c:if>
</div>